home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr27
/
gedsrcb5.zip
/
GEDSRCH.DOC
< prev
next >
Wrap
Text File
|
1995-03-12
|
4KB
|
108 lines
GEDSRCH
-------
This isn't a massively complex batch file so I'll try to keep these
instructions as short and simple as possible.
What it does
------------
After a number of 2.42 gammas and 2.50 betas during which time the
author of GoldED has added many keywords and changed the default values
of some others, it's easy to lose track of what your configuration
(.CFG) files contain, and possibly more significantly what they don't
contain which might be useful or even critical. For example, were you
caught out by the STATUSLINECLOCK and EDITAUTOSAVE changes? I wasn't,
of course! *:^)
GEDSRCH.BAT will search your GoldED configuration files for all current
GoldED keywords and produce two lists: one containing keywords which it
managed to find (FOUND.DAT) and another containing keywords it didn't
manage to find (NOTFOUND.DAT). The list of keywords searched for is
taken from the latest version of GoldED: 2.50.Beta5 dated 20th February
1995. (Please note that keywords which are commented out will still be
reported in FOUND.DAT: batch files - even mine - aren't *that* clever!)
My suggestion is that you go through the NOTFOUND.DAT file, reading the
description of each keyword in the full GoldED documentation file
(GOLDED.DOC, supplied in GEM250B5.ZIP), and ascertain whether you
ought to be putting the keyword in one of your config files, perhaps to
override a default value which is inappropriate for your system.
How to use it
-------------
First unpack GEDSRCH.ZIP into your GoldED directory. This archive
contains the following files:-
GEDSRCH.BAT The main batch file
GEDSRCH2.BAT The subroutine which does the searching
SENDC.COM A utility which outputs raw ANSI codes to the screen
GEDSRCH.DOC This document
To search GOLDED.CFG on its own, just type:-
GEDSRCH
If you wish to search additional .CFG files, enter the complete list of
filenames:-
GEDSRCH GOLDED.CFG COLORS.CFG GOLDAREA GOLDRAND ADDMACRO
You can include the file extension, or omit it if it's ".CFG".
GEDSRCH displays a progress indicator bar as it searches. When it has
finished, it confirms the filenames searched and displays the total
numbers of keywords found and not found.
GEDSRCH cleans up all its temporary files and environment variables and
leaves just the files FOUND.DAT and NOTFOUND.DAT on your disk.
Hint: if you copy all your .CFG files, the GEDSRCH files and the DOS
program FIND.EXE onto a RAM disk before running, the whole operation is
faster and quieter.
Limitations
-----------
The progress indicator display requires that ANSI.SYS or an equivalent
is loaded.
The non-case-sensitive search and keyword totals require the DOS5/6 FIND
command.
Fixes
-----
1. Incorrect reporting of ENDGROUP in NOTFOUND.DAT corrected.
2. Incorrect reporting of obsolete keywords corrected.
3. As suggested, the DOS environment variable COPYCMD is over-ridden for
the duration of the batch file and restored to it's original value on
exit. Please note that if you abort the batch file whilst it is
running, the value of COPYCMD will not be restored.
Bug reports
-----------
This is only a little batch file which I wrote in a few idle moments for
my own use and amusement but you're quite welcome to derive whatever
benefit from it you can. If you can modify it to suit your purposes
more closely, then please feel free to do so. If you have any bug
reports or suggestions for improvements, then please contact me in the
GOLDED echo or, preferably I think, via Netmail (Fidonet 2:253/10) or
email <rula@yacc.demon.co.uk>.
Rudy Lacchin, Gloucester (UK)
12th February 1995